package com.ktjiaoyu.mapper;

import com.ktjiaoyu.entity.AttrValues;
import com.ktjiaoyu.entity.GoodsInfo;
import com.ktjiaoyu.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttrValueMapper {
    public List<AttrValues> getPage(@Param("entity") AttrValues entity ,
                                 @Param("offset") Integer offset,
                                 @Param("pageSize") Integer pageSize);

    public AttrValues getById(@Param("id") Integer id);

    public Long insert(AttrValues entity);

    public Long update(AttrValues entity);

    public int delete(@Param("id") Long id);

    public Long count();
}
